Name: gnat-project-common Version: 1 Release: 1%{?dist} Summary: Files shared by Ada libraries Summary(sv): Gemensamma filer för adabibliotek Group: System Environment/Libraries License: Copyright only # This is a Fedora-specific package. This source RPM is the canonical source. Source1: common.gpr Source2: gnat-project.sh Source3: gnat-project.csh Source4: macros.gnat BuildArch: noarch Requires: gcc-gnat setup %description The gnat-project-common package contains files that are used by the GNAT project files of multiple Ada libraries, and also GNAT-specific RPM macros. %description -l sv Paketet gnat-project-common innehåller filer som används av GNAT-projektfilerna för flera adabibliotek, samt GNAT-specifika RPM-makron. # Extract the GNAT project file location from the file of macro definitions so # that this package won't build-require itself. %global _GNAT_project_dir %(grep _GNAT_project_dir %{SOURCE4} | sed 's/[^ ]* *//') %prep # nothing to do %build # nothing to do %install rm -rf %{buildroot} mkdir --parents %{buildroot}%{_GNAT_project_dir} %{buildroot}/etc/profile.d %{buildroot}/etc/rpm/ cp -p %{SOURCE1} %{buildroot}%{_GNAT_project_dir}/ cp -p %{SOURCE2} %{SOURCE3} %{buildroot}/etc/profile.d/ cp -p %{SOURCE4} %{buildroot}/etc/rpm/ %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %{_GNAT_project_dir} /etc/profile.d/* /etc/rpm/* %changelog * Wed Jul 01 2009 Björn Persson - 1-1 - ready to be submitted for review